from dataclasses import dataclass
from typing import  Callable

from framework.syntacticSugar.EventEntiys import EventEntiys


@dataclass
class Tigger:
    rate: int
    when : Callable[[EventEntiys], bool]
    ban: Callable[[EventEntiys], bool]



